<!DOCTYPE html>
<html>
<head><title>Fortunes</title></head>
<body>
<table>
    <tr><th>id</th><th>message</th></tr>
    {% for message in messages %}
    <tr>
        <td>{{message.id}}</td>
        <td>{{message.message}}</td>
    </tr>
    {% endfor %}
</table>
</body>
</html>